/**
 ******************************************************************************
 * @file ADPCM/inc/adpcm.h
 * @author  MCD Application Team
 * @version  V2.0.0
 * @date  04/27/2009
 * @brief  Header file for adpcm.c
 ******************************************************************************
 * @copy
 *
 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
 * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
 * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
 * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
 * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
 *
 * <h2><center>&copy; COPYRIGHT 2009 STMicroelectronics</center></h2>
 */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __ADPCM_H
#define __ADPCM_H

/* Includes ------------------------------------------------------------------*/
// #include "stm32f10x.h"
#include "Pbc_Include.h"
/* Exported types ------------------------------------------------------------*/
/* Exported constants --------------------------------------------------------*/
/* Exported macro ------------------------------------------------------------*/
/* Exported functions ------------------------------------------------------- */
// u8_t ADPCM_Encode(s32_t sample);
// s16_t ADPCM_Decode(u8_t code);
void ADPCM_EnCode_Init(void);
void ADPCM_DeCode_Init(void);
u32_t adpcmEncode(u16_t *pcm_buf, u32_t pcm_len, u8_t *encode_buf);
u32_t adpcmDecode(u8_t *encode_buf, u32_t encode_cnt, u16_t *decode_buf);
#endif /* __ADPCM_H*/
/******************* (C) COPYRIGHT 2009 STMicroelectronics *****END OF FILE****/
